3.3165 \(\int \frac{(a+b x)^m (c+d x)^n}{(e+f x)^3} \, dx\)

Optimal. Leaf size=103 \[ \frac{b^2 (a+b x)^{m+1} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} F_1\left (m+1;-n,3;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)^3} \]

[Out]

(b^2*(a + b*x)^(1 + m)*(c + d*x)^n*AppellF1[1 + m, -n, 3, 2 + m, -((d*(a + b*x))/(b*c - a*d)), -((f*(a + b*x))
/(b*e - a*f))])/((b*e - a*f)^3*(1 + m)*((b*(c + d*x))/(b*c - a*d))^n)

________________________________________________________________________________________

Rubi [A]  time = 0.0500385, antiderivative size = 103, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {137, 136} \[ \frac{b^2 (a+b x)^{m+1} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} F_1\left (m+1;-n,3;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)^3} \]

Antiderivative was successfully verified.

[In]

Int[((a + b*x)^m*(c + d*x)^n)/(e + f*x)^3,x]

[Out]

(b^2*(a + b*x)^(1 + m)*(c + d*x)^n*AppellF1[1 + m, -n, 3, 2 + m, -((d*(a + b*x))/(b*c - a*d)), -((f*(a + b*x))
/(b*e - a*f))])/((b*e - a*f)^3*(1 + m)*((b*(c + d*x))/(b*c - a*d))^n)

Rule 137

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Dist[(c + d*x)^
FracPart[n]/((b/(b*c - a*d))^IntPart[n]*((b*(c + d*x))/(b*c - a*d))^FracPart[n]), Int[(a + b*x)^m*((b*c)/(b*c
- a*d) + (b*d*x)/(b*c - a*d))^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] &&  !IntegerQ[m] &&
 !IntegerQ[n] && IntegerQ[p] &&  !GtQ[b/(b*c - a*d), 0] &&  !SimplerQ[c + d*x, a + b*x]

Rule 136

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[((b*e - a*
f)^p*(a + b*x)^(m + 1)*AppellF1[m + 1, -n, -p, m + 2, -((d*(a + b*x))/(b*c - a*d)), -((f*(a + b*x))/(b*e - a*f
))])/(b^(p + 1)*(m + 1)*(b/(b*c - a*d))^n), x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] &&  !IntegerQ[m] &&  !Int
egerQ[n] && IntegerQ[p] && GtQ[b/(b*c - a*d), 0] &&  !(GtQ[d/(d*a - c*b), 0] && SimplerQ[c + d*x, a + b*x])

Rubi steps

\begin{align*} \int \frac{(a+b x)^m (c+d x)^n}{(e+f x)^3} \, dx &=\left ((c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n}\right ) \int \frac{(a+b x)^m \left (\frac{b c}{b c-a d}+\frac{b d x}{b c-a d}\right )^n}{(e+f x)^3} \, dx\\ &=\frac{b^2 (a+b x)^{1+m} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} F_1\left (1+m;-n,3;2+m;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(b e-a f)^3 (1+m)}\\ \end{align*}

Mathematica [A]  time = 0.289836, size = 101, normalized size = 0.98 \[ \frac{b^2 (a+b x)^{m+1} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} F_1\left (m+1;-n,3;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )}{(m+1) (b e-a f)^3} \]

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x)^m*(c + d*x)^n)/(e + f*x)^3,x]

[Out]

(b^2*(a + b*x)^(1 + m)*(c + d*x)^n*AppellF1[1 + m, -n, 3, 2 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(
-(b*e) + a*f)])/((b*e - a*f)^3*(1 + m)*((b*(c + d*x))/(b*c - a*d))^n)

________________________________________________________________________________________

Maple [F]  time = 0.089, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{n}}{ \left ( fx+e \right ) ^{3}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^m*(d*x+c)^n/(f*x+e)^3,x)

[Out]

int((b*x+a)^m*(d*x+c)^n/(f*x+e)^3,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}}{{\left (f x + e\right )}^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^n/(f*x+e)^3,x, algorithm="maxima")

[Out]

integrate((b*x + a)^m*(d*x + c)^n/(f*x + e)^3, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}}{f^{3} x^{3} + 3 \, e f^{2} x^{2} + 3 \, e^{2} f x + e^{3}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^n/(f*x+e)^3,x, algorithm="fricas")

[Out]

integral((b*x + a)^m*(d*x + c)^n/(f^3*x^3 + 3*e*f^2*x^2 + 3*e^2*f*x + e^3), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**m*(d*x+c)**n/(f*x+e)**3,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}}{{\left (f x + e\right )}^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^m*(d*x+c)^n/(f*x+e)^3,x, algorithm="giac")

[Out]

integrate((b*x + a)^m*(d*x + c)^n/(f*x + e)^3, x)